/* ==========================================
   全体・共通基本スタイル
   ========================================== */
.asics-container {
  max-width: 1000px; /* 全体が綺麗に収まる横幅に統一 */
  margin: 0 auto;
  padding: 20px 10px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #002169;
  text-align: center;
  box-sizing: border-box;
}

/* 全要素のサイズ崩れ・はみ出し防止 */
.asics-container *, .asics-container *::before, .asics-container *::after {
  box-sizing: border-box;
}

/* 共通ヘッダーエリア */
.asics-header {
  text-align: center;
  margin-bottom: 30px;
}
.asics-header h1 {
  font-size: 34px;
  font-weight: bold;
  margin: 0 0 5px 0;
  letter-spacing: 1px;
  text-align: center;
}
.asics-header .subtitle {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 5px 0;
}
.asics-header .desc {
  font-size: 13px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.5px;
}

/* 共通セクションタイトル（背景ネイビー） */
.section-title-bg {
  background-color: #002169;
  padding: 15px;
  margin-top: 50px;
  margin-bottom: 35px;
}
.section-title-bg h1 {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff !important;
  margin: 0;
  text-align: center;
  letter-spacing: 2px;
  line-height: 1.4;
}

/* 共通サブタイトル（装飾線付き見出し） */
.sub-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 35px;
  font-size: 14px;
  font-weight: bold;
}
.sub-section-title::before,
.sub-section-title::after {
  content: "";
  width: 50px;
  height: 1px;
  background-color: #002169;
  margin: 0 15px;
}

/* セクション間・パーツ間の余白調整用 */
.margin-top-lg {
  margin-top: 50px;
}

/* ------------------------------------------
   ★ 新設：top（バナー画像の上にボタンを重ねる）スタイル
   ------------------------------------------ */
.top-container {
  position: relative;
  width: 100%;
  display: inline-block;
  margin-bottom: 50px;
}
.top-img {
  width: 100%;
  display: block;
  border: none;
}
.btn-on-image {
  position: absolute;
  bottom: 4%;           /* 下からの位置調整 */
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  padding: 10px 28px;    /* 画像の比率に合わせたボタン余白 */
  background-color: #002169;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  border-radius: 25px;
  text-align: center;
  white-space: nowrap;   /* 文字が絶対に折り返さないようにする */
  transition: opacity 0.2s ease;
}
.btn-on-image:hover {
  opacity: 0.8;
}

/* ==========================================
   ランニング（2カラム）セクション固有スタイル
   ========================================== */
.grid-2col {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-bottom: 40px;
}
.grid-2col .card-type {
  width: calc(50% - 10px);
}

/* 共通ホバー・画像リセット設定（今回追加した3連画像リンクにも効くように修正） */
.type-img, .grid-3col .card a img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.type-img:hover, .grid-3col .card a img:hover {
  opacity: 0.9;
  transform: scale(1.01);
}

/* ==========================================
   陸上セクション固有スタイル
   ========================================== */
.intro-text {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 45px;
  padding: 0 10px;
}

/* 陸上用3カラムグリッド */
.grid-3col {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 60px;
  width: 100%;
}
.grid-3col .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}
.card-img {
  width: 100%;
  max-width: 100%; 
  height: auto;
  display: block; 
  border: none; 
  margin-bottom: 15px;
}

/* 陸上テキスト＆カラー設定 */
.model-header {
  margin-bottom: 20px;
  text-align: center;
}
.model-title {
  font-size: 15px;
  font-weight: bold;
  margin: 0;
}
.color-sprint { color: #bfa15f; }
.color-field { color: #1a365d; }
.color-distance { color: #d53f8c; }

/* 商品はこちら ボタン */
.btn-action {
  display: inline-block;
  width: 80%;           
  max-width: 170px;     
  padding: 10px 0;      
  background-color: #002169;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  border-radius: 25px;
  text-align: center;
  margin-top: auto;
  transition: opacity 0.2s ease;
}
.btn-action:hover {
  opacity: 0.8;
}

/* 区切り線（グラデーションライン） */
.section-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1) 50%, transparent);
  margin-top: 20px;
  margin-bottom: 45px;
  clear: both;
}
.section-divider::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: radial-gradient(ellipse at top, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
}

/* 世界陸連PDFボタン */
.pdf-section {
  margin-bottom: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.btn-pdf {
  display: inline-block;
  width: 90%;
  max-width: 320px;
  padding: 12px 15px;
  background-color: #002169;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border-radius: 25px;
  text-align: center;
  transition: opacity 0.2s ease;
}
.btn-pdf:hover {
  opacity: 0.8;
}

/* ==========================================
   スマートフォン用（画面幅768px以下）一括レスポンシブ
   ========================================== */
@media (max-width: 768px) {
  /* ヘッダー周りのスマホ最適化 */
  .asics-header h1 {
    font-size: 26px;
    text-align: center;
  }
  .asics-header .subtitle {
    font-size: 14px;
  }
  .asics-header .desc {
    font-size: 11px;
    line-height: 1.5;
    padding: 0 10px;
  }

  /* セクションタイトルの文字サイズ微調整 */
  .section-title-bg h1 {
    font-size: 16px;
  }
  
  /* サブタイトル装飾線のスマホ最適化 */
  .sub-section-title::before,
  .sub-section-title::after {
    width: 30px;
  }

  /* 余白のスマホ用微調整 */
  .margin-top-lg { margin-top: 40px; }
  .margin-top-xl { margin-top: 60px; }

  /* ランニング（2カラム）→ スマホ時は縦1列 */
  .grid-2col {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .grid-2col .card-type {
    width: 100%;
    padding: 0 5px;
  }

  /* 陸上＆追加3連バナー（3カラム）→ スマホ時は縦1列 */
  .grid-3col {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .grid-3col .card {
    width: 100%;
    max-width: 100%;
    padding: 0 10px; 
  }
  .btn-action {
    width: 90%;
    max-width: 260px;
  }

  /* PDFボタンのスマホ表示サイズ調整 */
  .btn-pdf {
    width: 85%;
    max-width: 280px;
    font-size: 12px;
  }
}